
/* --- Global Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #faf7f5;
  color: #333;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Header --- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .logo {
  font-size: 1.6rem;
  font-weight: 600;
  color: #b57c6a;
}

.nav a {
  margin-left: 2rem;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #b57c6a;
}
/* --- Hero Section --- */
.hero {
  height: 80vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: #fff8f0;
  overflow: hidden; 
}

/* Conteneur d'images en arrière-plan avec léger voile */
.hero-images {
  margin-top: 2em;
  margin-bottom: 1em;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  gap: 15px;
  z-index: 0;
  pointer-events: none;
}

.hero-images img {
  height: 200px;
  border-radius: 15px;
  object-fit: cover;
  filter: brightness(1); /* voile léger pour faire ressortir le texte */
}

/* Texte et boutons devant les images */
.hero-content {
  margin-top: 10em;
  position: relative;
  color: #333; 
  text-align: center;
  max-width: 600px;
  z-index: 1; /* devant les images */
  background: rgba(255, 248, 240, 0.7); /* optionnel: léger fond derrière le texte */
  padding: 1rem 2rem;
  border-radius: 15px;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-content p {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.hero-content .btn-primary {
  margin: 0.5rem;
}

/* Version mobile */
@media (max-width: 768px) {
  .hero-images {
    flex-direction: column;
    gap: 5px;
  }

  .hero-images img {
    height: 100px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

.btn-primary {
  display: inline-block;
  background: #b57c6a;
  padding: 0.9rem 2rem;
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #a06c5c;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 1.5rem;
  }

  .hero-images img {
    height: 150px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}


/* --- Grid Section --- */
.grid-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.grid-section h2 {
  font-size: 2.3rem;
  margin-bottom: 2.5rem;
  color: #b57c6a;
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.card h3 {
  color: #b57c6a;
  margin-bottom: 0.7rem;
  font-size: 1.4rem;
}

.card p {
  font-size: 0.95rem;
  color: #555;
}

/* --- Footer --- */
.footer {
  background: #fff;
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  margin-top: 3rem;
  border-top: 1px solid #eee;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .header {
    padding: 1rem 1.5rem;
  }

  .nav a {
    margin-left: 1rem;
  }

  .hero-content h1 {
    font-size: 2.3rem;
  }
}

.marques{
    display:flex;
    flex-direction:row;
    justify-content:space-around;
    
    
}

/* Overlay page de bienvenue */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 248, 240, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  z-index: 9999;
}

.overlay h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  color: #ff8c42;
  margin-bottom: 1rem;
}

.overlay p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 2rem;
  max-width: 400px;
}

.overlay button {
  padding: 12px 30px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  background-color: #ff8c42;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.overlay button:hover {
  background-color: #e67624;
}

/* --- OVERLAY NOEL --- */
.noel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(2px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    animation: fadeIn 1s ease-out forwards;
}

/* Texte animé */
.noel-message {
    font-size: 3rem;
    font-family: 'Dancing Script', cursive;
    color: #fff;
    text-shadow: 0 0 10px #ff0000, 0 0 20px #fff;
    opacity: 0;
    animation: textPop 2s ease-out forwards 1s;
    text-align: center;
}

/* Feuilles de houx */
.holly {
    width: 120px;
    position: absolute;
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}

.holly-top-left { top: 20px; left: 20px; animation-delay: 0.3s; }
.holly-top-right { top: 20px; right: 20px; animation-delay: 0.5s; }
.holly-bottom-left { bottom: 20px; left: 20px; animation-delay: 0.7s; }
.holly-bottom-right { bottom: 20px; right: 20px; animation-delay: 0.9s; }

/* Étoiles scintillantes */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    overflow: hidden;
    pointer-events: none;
}

.stars::before,
.stars::after {
    content: "✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧";
    position: absolute;
    font-size: 2rem;
    color: #fff;
    width: 100%;
    text-align: center;
    animation: sparkle 2s infinite alternate ease-in-out;
    opacity: 0.7;
}

.stars::before {
    top: 20%;
}
.stars::after {
    bottom: 20%;
    animation-delay: 1s;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes textPop {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes sparkle {
     0%   { opacity: 0.15; transform: scale(0.8); text-shadow: 0 0 5px #fff; }
    50%  { opacity: 1; transform: scale(1.3); text-shadow: 0 0 20px #fff, 0 0 40px #ffd700; }
    100% { opacity: 0.3; transform: scale(1); text-shadow: 0 0 10px #fff; }
}


